package com.traval.orderANDcart.models;

import java.util.HashSet;
import java.util.Set;

import com.traval.user.models.TUser;

/**
 * TCart entity. @author MyEclipse Persistence Tools
 */

public class TCart implements java.io.Serializable {

	// Fields

	private Integer cid;
	private Double price;
	private Set TCartinfos = new HashSet(0);
	private TUser TUser;

	// Constructors

	/** default constructor */
	public TCart() {
	}

	/** full constructor */
	public TCart(Double price, Set TCartinfos, TUser TUser) {
		this.price = price;
		this.TCartinfos = TCartinfos;
		this.TUser = TUser;
	}

	// Property accessors

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Set getTCartinfos() {
		return this.TCartinfos;
	}

	public void setTCartinfos(Set TCartinfos) {
		this.TCartinfos = TCartinfos;
	}

	public TUser getTUser() {
		return this.TUser;
	}

	public void setTUser(TUser TUser) {
		this.TUser = TUser;
	}

}